package com.lsq.tucao.express.service;

import com.lsq.tucao.express.response.JsonResult;

public interface ManageMyService {

    /**
     * @author lsq
     * @description 获取我发布的吐槽数据
     * @param current 页码
     * @param size 每页条数
     * @param username 用户名
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/23 20:37
     */
    JsonResult getMyTucao(Integer current,Integer size,String username);

    /**
     * @author lsq
     * @description 获取我发布的鸡汤数据
     * @param current 页码
     * @param size 每页条数
     * @param username 用户名
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/23 20:37
     */
    JsonResult getMyHeart(Integer current,Integer size,String username);

    /**
     * @author lsq
     * @description 获取我点赞过的吐槽或鸡汤数据
     * @param current 页码
     * @param size 每页条数
     * @param userId 用户id
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/23 20:37
     */
    JsonResult getMyLike(Integer current,Integer size,Long userId);

    /**
     * @author lsq
     * @description 按吐槽id删除吐槽
     * @param tucaoId 吐槽id
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/25 18:12
     */
    JsonResult delMyTucao(Long tucaoId);

    /**
     * @author lsq
     * @description 按鸡汤id删除吐槽
     * @param heartId 吐槽id
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/25 18:12
     */
    JsonResult delMyHeart(Long heartId);

}
